<!--登录视图-->
<div class="container mt-80">
    <form class="form-horizontal">
        <div class="form-group">
            <label for="loginName" class="col-sm-2 control-label">帐号：</label>
            <div class="col-sm-10">
            <input type="text" class="form-control" id="loginName" placeholder="帐号" ng-model="loginName">
            </div>
        </div>
        <div class="form-group">
            <label for="password" class="col-sm-2 control-label">密码：</label>
            <div class="col-sm-10">
            <input type="password" class="form-control" id="password" placeholder="密码" ng-model="password">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-primary" ng-click="login()">登录</button>
            <a ui-sref="register" class="nav-link">注册</a>
            </div>
            </div>
        </div>
    </form>
</div>